a = 10
b = 3
c = a/b
d = a%b # 余数
e = a//b # 商
print(c,d,e)
f = a**b # 幂
print(f)

print(a!=b)

print(a==10)

# g = a
# a = b
# b = g

# a,b = (b,a)
a,b = b,a
print(a,b)

"""
and
or
not
()
运算顺序：()>not>and>or
"""

print(a and b)

print(True and False)
print(True or False)
print(not False)

username = input('请输入用户名：').strip()
password = input('请输入密码：').strip()
if username == 'admin' and password == '123456':
    print('登录成功')
else:
    print('登录失败')